#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// NeatlyFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion
using System;
using UnityEngine;

namespace Neatly
{
    public enum WebServerType
    {
        Develop = 1, //AR内部开发服
        QA = 2, //测试
        Release = 3, //正式服
        Audit = 4, //提审
    }

    [Serializable]
    public sealed class WebServerConfig
    {
        public WebServerType serverType;
        public string[] domains;
        public string[] webGlDomains;
        public string[] cdnDomains;
        public string[] cdnWebGlDomains;
    }

    public class ConfigData : ScriptableObject
    {
        public bool isConsole = false;
        public bool isDevelop = false;
        public int requestTimeout = 5000;
        public int appId = 1;
        public int patchCode = 1;
        public string versionName = "trunk";
        public WebServerType serverType = WebServerType.Develop;
        public WebServerConfig[] webServerArray;
    }
}